import Layout from '@/layout'

export default {
  path: '/employees',
  component: Layout,
  children: [
    {
      path: 'index',
      name: 'employees',
      component: () => import('@/views/employees/index.vue'),
      meta: { title: '员工', icon: 'people' }
    },
    // 员工详情
    {
      path: 'detail/:id', // 动态参数路由
      name: 'detail',
      component: () => import('@/views/employees/detail'),
      hidden: true
      // meta: {
      //   title: '员工详情'
      // }
    }
  ]
}

